<admintpl file="header" />
<link href="__ROOT__/admin/public/HiAdmin/css/plugins/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css" rel="stylesheet">
<style type="text/css">
    .file-box{width: 110px;}.file .icon, .file .image{height:60px;}
</style>
<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInRight">
       
        <div class="row">
            <form class="form-horizontal m-t js-ajax-forms" id="signupForm" action="{:U('Admin/User/edit_post')}" method="post" enctype="multipart/form-data">
            
                <div class="ibox float-e-margins col-sm-10 col-sm-offset-1">
                    
                    <div class="ibox-content">
                        
                        <div class="mail-box-header">
                            
                            <div class="mail-tools tooltip-demo m-t-md">


                                <h3>
                                    <span class="font-noraml">标题： </span>{$msg.Title}
                                </h3>
                                <h5>
                                <span class="pull-right font-noraml"> {$msg.SendTime} </span>
                                <span class="font-noraml">发送人： </span>
                                <if condition="$User['TrueName']!=''">
                                  {$msg.TrueName}
                                  <else/>
                                  {$msg.UserName}
                                </if>
                            </h5>
                            </div>
                        </div>
                        <div class="mail-box">
                            <div class="mail-body">
                                {$msg.Content}
                            </div>
                            <if condition="sp_auth_check(get_current_admin_id(),'admin/message/send_msg')">
                                <div class="mail-attachment">
                                    <p>
                                        <span><i class="fa fa-user"></i> 发送至用户</span>
                                    </p>    

                                    <div class="attachment">
                                        <foreach name="msg_users" item="vo">                                    
                                            <div class="file-box">
                                                <div class="file">
                                                    <a href="#">
                                                        <span class="corner"></span>
                                                        <div class="image">
                                                            <img alt="image" class="img-responsive" src="__ROOT__/data/upload/portrait/{$vo.ID}.jpg" onerror="javascript:this.src='__ROOT__/data/upload/portrait/default.jpg';"/>
                                                        </div>
                                                        <div class="file-name">
                                                           
                                                            <if condition="$vo['TrueName']!=''">
                                                              {$vo.TrueName}
                                                              <else/>
                                                              {$vo.UserName}
                                                            </if>

                                                            <if condition="$vo['OpenTime']!=''">
                                                              (已阅读)
                                                              <else/>
                                                              (未阅读)
                                                            </if>
                                                        </div>
                                                    </a>
                                                </div>
                                            </div>
                                        </foreach>  
                                        <div class="clearfix"></div>
                                    </div>
                                </div>   
                            </if>

                            <div class="mail-body text-right tooltip-demo">
                                <a class="btn btn-white" href="javascript:history.back(-1);">返回</a>                        
                            </div>
                            <div class="clearfix"></div>


                        </div>
                    </div>
                </div>
           
            
            </form>
        </div>

    </div>


   
    

</body>

</html>
